package o;

public class arc extends aso {
    private float ˊ;
    private float ˋ;
    private float ˎ;
    private float ˏ;
    private float ॱ;

    public arc(float f, float f2, float f3) {
        this.ॱ = f;
        this.ˏ = f2;
        this.ˊ = f3;
        if (f3 < 0.0f) {
            throw new IllegalArgumentException("cradleVerticalOffset must be positive.");
        }
        this.ˋ = 0.0f;
    }

    public void ˎ(float f, float f2, asp o_asp) {
        if (this.ˎ == 0.0f) {
            o_asp.ˋ(f, 0.0f);
            return;
        }
        float f3 = ((this.ॱ * 2.0f) + this.ˎ) / 2.0f;
        float f4 = f2 * this.ˏ;
        float f5 = (f / 2.0f) + this.ˋ;
        float f6 = (this.ˊ * f2) + ((1.0f - f2) * f3);
        if (f6 / f3 >= 1.0f) {
            o_asp.ˋ(f, 0.0f);
            return;
        }
        float f7 = f3 + f4;
        float f8 = f6 + f4;
        f7 = (float) Math.sqrt((double) ((f7 * f7) - (f8 * f8)));
        float f9 = f5 - f7;
        float f10 = f5 + f7;
        float toDegrees = (float) Math.toDegrees(Math.atan((double) (f7 / f8)));
        float f11 = 90.0f - toDegrees;
        o_asp.ˋ(f9 - f4, 0.0f);
        o_asp.ॱ(f9 - f4, 0.0f, f9 + f4, f4 * 2.0f, 270.0f, toDegrees);
        o_asp.ॱ(f5 - f3, (-f3) - f6, f5 + f3, f3 - f6, 180.0f - f11, (2.0f * f11) - 180.0f);
        o_asp.ॱ(f10 - f4, 0.0f, f10 + f4, f4 * 2.0f, 270.0f - toDegrees, toDegrees);
        o_asp.ˋ(f, 0.0f);
    }

    public void ˋ(float f) {
        this.ˋ = f;
    }

    public float ˏ() {
        return this.ˋ;
    }

    public float ˎ() {
        return this.ˊ;
    }

    public void ˏ(float f) {
        this.ˊ = f;
    }

    public float ˊ() {
        return this.ˎ;
    }

    public void ॱ(float f) {
        this.ˎ = f;
    }

    public float ॱ() {
        return this.ॱ;
    }

    public void ˊ(float f) {
        this.ॱ = f;
    }

    public float ˋ() {
        return this.ˏ;
    }

    public void ˎ(float f) {
        this.ˏ = f;
    }
}
